<?php
include("interface.class.php");
include("table.class.php");

$inf = new webinterface();
$inf->add_content("hola, esto mola");
/* ojete table 
$tab = new table();
$tab->t_id="ojete";
$tab->set_head(array('ojete','moreno','mola'));
$tab->add_row(array('linea1','columna2','guay'));
$tab->add_row(array('linea2','columna2','guay'));
$tab->add_row(array('linea3','columna2','ojete'));
$inf->add_docready_script($tab->script());
$inf->add_content($tab->html());
end ojete table */
$inf->add_content("hola, esto mola");

/* moreno table */
$tab2 = new table();
$tab2->t_id="moreno";
$tab2->set_head(array('caca','culo','pis'));
$tab2->add_row(array('linea1','columna2','guay'));
$tab2->add_row(array('linea2','columna2','guay'));
$tab2->add_row(array('linea3','columna2','ojete'));
$inf->add_docready_script($tab2->script());
$inf->add_content($tab2->html());
/* end ojete table */

$inf->commit();
?>
